object frmaddreport: Tfrmaddreport
  Left = 0
  Top = 0
  Caption = #22686#21152#25253#34920
  ClientHeight = 398
  ClientWidth = 577
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -21
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 25
  object Label1: TLabel
    Left = 136
    Top = 8
    Width = 84
    Height = 25
    Caption = #25253#34920#32534#21495
    FocusControl = cxDBTextEdit1
  end
  object Label2: TLabel
    Left = 136
    Top = 65
    Width = 84
    Height = 25
    Caption = #25253#34920#21517#31216
    FocusControl = cxDBTextEdit2
  end
  object Label3: TLabel
    Left = 136
    Top = 192
    Width = 42
    Height = 25
    Caption = #35828#26126
    FocusControl = cxDBTextEdit3
  end
  object cxDBTextEdit1: TcxDBTextEdit
    Left = 136
    Top = 32
    DataBinding.DataField = 'MDR_CODE'
    DataBinding.DataSource = DataSource1
    TabOrder = 0
    Width = 377
  end
  object cxDBTextEdit2: TcxDBTextEdit
    Left = 136
    Top = 96
    DataBinding.DataField = 'MDR_Name'
    DataBinding.DataSource = DataSource1
    TabOrder = 1
    Width = 377
  end
  object cxDBCheckBox1: TcxDBCheckBox
    Left = 128
    Top = 153
    Caption = #26159#21542#40664#35748
    DataBinding.DataField = 'MDR_IfDefault'
    DataBinding.DataSource = DataSource1
    TabOrder = 2
  end
  object cxDBCheckBox2: TcxDBCheckBox
    Left = 336
    Top = 153
    Caption = #26159#21542#20351#29992
    DataBinding.DataField = 'MDR_IfUsed'
    DataBinding.DataSource = DataSource1
    TabOrder = 3
  end
  object cxDBTextEdit3: TcxDBTextEdit
    Left = 136
    Top = 223
    DataBinding.DataField = 'MDR_Remark'
    DataBinding.DataSource = DataSource1
    TabOrder = 4
    Width = 377
  end
  object Button1: TButton
    Left = 87
    Top = 317
    Width = 201
    Height = 49
    Caption = #20445#23384
    Default = True
    TabOrder = 5
    OnClick = Button1Click
  end
  object Button2: TButton
    Left = 415
    Top = 317
    Width = 81
    Height = 49
    Cancel = True
    Caption = #21462#28040
    ModalResult = 2
    TabOrder = 6
  end
  object FDQryModuleReport: TFDQuery
    Connection = DM.FDConn
    SQL.Strings = (
      'select * from SM_ModuleReports where mod_code=:modcode')
    Left = 48
    Top = 96
    ParamData = <
      item
        Name = 'MODCODE'
        DataType = ftString
        ParamType = ptInput
        Size = 20
        Value = Null
      end>
    object FDQryModuleReportMDR_ID: TFDAutoIncField
      FieldName = 'MDR_ID'
      Origin = 'MDR_ID'
      ProviderFlags = [pfInWhere, pfInKey]
      ReadOnly = True
    end
    object FDQryModuleReportMOD_Code: TWideStringField
      FieldName = 'MOD_Code'
      Origin = 'MOD_Code'
      Required = True
    end
    object FDQryModuleReportMDR_CODE: TWideStringField
      FieldName = 'MDR_CODE'
      Origin = 'MDR_CODE'
      Required = True
    end
    object FDQryModuleReportMDR_Name: TWideStringField
      FieldName = 'MDR_Name'
      Origin = 'MDR_Name'
      Required = True
      Size = 50
    end
    object FDQryModuleReportMDR_IfDefault: TBooleanField
      AutoGenerateValue = arDefault
      FieldName = 'MDR_IfDefault'
      Origin = 'MDR_IfDefault'
    end
    object FDQryModuleReportMDR_IfUsed: TBooleanField
      AutoGenerateValue = arDefault
      FieldName = 'MDR_IfUsed'
      Origin = 'MDR_IfUsed'
    end
    object FDQryModuleReportMDR_Remark: TWideStringField
      AutoGenerateValue = arDefault
      FieldName = 'MDR_Remark'
      Origin = 'MDR_Remark'
      Size = 200
    end
    object FDQryModuleReportMDR_Data: TBlobField
      AutoGenerateValue = arDefault
      FieldName = 'MDR_Data'
      Origin = 'MDR_Data'
    end
    object FDQryModuleReportMDR_Index: TIntegerField
      AutoGenerateValue = arDefault
      FieldName = 'MDR_Index'
      Origin = 'MDR_Index'
    end
    object FDQryModuleReportMDR_CreateDate: TDateTimeField
      FieldName = 'MDR_CreateDate'
      Origin = 'MDR_CreateDate'
      Required = True
    end
    object FDQryModuleReportMDR_ModifyDate: TDateTimeField
      FieldName = 'MDR_ModifyDate'
      Origin = 'MDR_ModifyDate'
      Required = True
    end
  end
  object DataSource1: TDataSource
    DataSet = FDQryModuleReport
    Left = 40
    Top = 192
  end
end
